﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SourceControlEssentials
{
    /// <summary>
    /// Group - is a collection of students
    /// </summary>
    public class Group : KeyedCollection<int, IStudent>
    {
        protected override int GetKeyForItem(IStudent item)
        {
            return item.Id();
        }
    }
}
